Get Customer Online PSTN Gateway
The Get Customer Online PSTN Gateway request retrieves Online PSTN gateway that has been attached to a customer service.
URI
{{baseUrl}}/api/v3/customer/{customerGuid}/onlinepstngateway
                                                HTTP Method
GET
Request Parameters
| 
                                                             Parameter  | 
                                                        
                                                             Type  | 
                                                        
                                                             Description  | 
                                                    ||||||
|---|---|---|---|---|---|---|---|---|
| 
                                                             customerGuid  | 
                                                        
                                                             string ($uuid)  | 
                                                        
                                                             umpCustomerGuid created in the Live Platformcustomer tenant SQL database : 
 
 This value is also retrieved using Get Services Brief Details (V3) and Get Customers Brief Details (V2) and in the 'Get Task' response when the customer service is created.  | 
                                                    
Example Response
HTTP Responses
| ■ | 200 OK | 
| 
                                                             Parameter  | 
                                                        
                                                             Type  | 
                                                        
                                                             Description  | 
                                                    |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 
                                                             Id  | 
                                                        
                                                             string($uuid)  | 
                                                        
                                                             'umpCustomerGuid' value created in the Live Platformcustomer tenant SQL database directory: 
 
 This value is also retrieved using Get Services Brief Details (V3) and Get Customers Brief Details (V2) and in the 'Get Task' response when the customer service is created.  | 
                                                    |||||||||||||||||||||||||||
| 
                                                             shortName  | 
                                                        
                                                             string  | 
                                                        
                                                             Short name of service complying with the following validation rules: 
 
 
 
  | 
                                                    |||||||||||||||||||||||||||
| 
                                                             fullName  | 
                                                        
                                                             string  | 
                                                        
                                                             The customer full name defined in the customer's Operator Connect JSON file.  | 
                                                    |||||||||||||||||||||||||||
| 
                                                             licenseType  | 
                                                        
                                                             integer Enum: [3, 4, 5] [ 0, 1, 2]  | 
                                                        
                                                             One of the following values: 
 
 
 
 
 
  | 
                                                    |||||||||||||||||||||||||||
| 
                                                             licensedUsersCount  | 
                                                        
                                                             integer  | 
                                                        
                                                             Number of licensed users.  | 
                                                    |||||||||||||||||||||||||||
| 
                                                             msTenantId  | 
                                                        
                                                             string  | 
                                                        
                                                             Microsoft subscription Tenant ID of the customer attached to the service.  | 
                                                    |||||||||||||||||||||||||||
| 
                                                             siteLocation (SIP Connection)  | 
                                                        
                                                             Array including the following: 
 
 
 
  | 
                                                        
                                                             The configured SBC used to manage calls for this SIP Connection.  | 
                                                    |||||||||||||||||||||||||||
| 
                                                             id  | 
                                                        
                                                             string($uuid)  | 
                                                        
                                                             The unique id for the SIP Connection (site location). Equivalent to value 'siteGuid' created when adding the SIP Connection.  | 
                                                    |||||||||||||||||||||||||||
| 
                                                             name  | 
                                                        
                                                             string  | 
                                                        
                                                             Name of the SIP Connection.  | 
                                                    |||||||||||||||||||||||||||
| 
                                                             sbcId  | 
                                                        
                                                             integer  | 
                                                        
                                                             Id of the SBC device in the Live Platform SQL database (see Get SBC Devices.  | 
                                                    |||||||||||||||||||||||||||
| 
                                                             sbcdeploymentState  | 
                                                        
                                                             string  | 
                                                        
                                                             Deployment state of the tenant. One of the following values: 
 
 
 
 
 
 
 
 
  | 
                                                    
| ■ | 500 Internal Server Error: | 
{
"title": "Failed to retrieve customer information",
"status": 500,
"detail": "ErrorTicket=9ce0708c-9de2-44c9-9daf-0aa81b90bd76"
}